home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / p_man / cato / Xm / XmCreateScrolledText.z / XmCreateScrolledText
Text File  |  1998-10-20  |  6KB  |  133 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmCCCCrrrreeeeaaaatttteeeeSSSSccccrrrroooolllllllleeeeddddTTTTeeeexxxxtttt((((3333XXXX))))  UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV  XXXXmmmmCCCCrrrreeeeaaaatttteeeeSSSSccccrrrroooolllllllleeeeddddTTTTeeeexxxxtttt((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XXXXmmmmCCCCrrrreeeeaaaatttteeeeSSSSccccrrrroooolllllllleeeeddddTTTTeeeexxxxtttt - The TextScrolledText convenience
  10.           creation function
  11.  
  12.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.           ####iiiinnnncccclllluuuuddddeeee <<<<XXXXmmmm////TTTTeeeexxxxtttt....hhhh>>>>
  14.  
  15.           WWWWiiiiddddggggeeeetttt XXXXmmmmCCCCrrrreeeeaaaatttteeeeSSSSccccrrrroooolllllllleeeeddddTTTTeeeexxxxtttt ((((_p_a_r_e_n_t, _n_a_m_e, _a_r_g_l_i_s_t, _a_r_g_c_o_u_n_t))))
  16.                WWWWiiiiddddggggeeeetttt    _p_a_r_e_n_t;;;;
  17.                SSSSttttrrrriiiinnnngggg    _n_a_m_e;;;;
  18.                AAAArrrrggggLLLLiiiisssstttt   _a_r_g_l_i_s_t;;;;
  19.                CCCCaaaarrrrddddiiiinnnnaaaallll  _a_r_g_c_o_u_n_t;;;;
  20.  
  21.  
  22.      VVVVEEEERRRRSSSSIIIIOOOONNNN
  23.           This page documents version 1.2 of the Motif library.
  24.  
  25.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  26.           XXXXmmmmCCCCrrrreeeeaaaatttteeeeSSSSccccrrrroooolllllllleeeeddddTTTTeeeexxxxtttt creates an instance of a Text widget
  27.           that is contained within a ScrolledWindow.  All
  28.           ScrolledWindow subarea widgets are automatically created by
  29.           this function. The ID returned by this function is that of
  30.           the Text widget.  Use this ID for all normal Text
  31.           operations, as well as those that are relevant for the
  32.           ScrolledText widget.
  33.  
  34.           The Text widget defaults to single-line text edit;
  35.           therefore, no ScrollBars are displayed.  The Text resource
  36.           XXXXmmmmNNNNeeeeddddiiiittttMMMMooooddddeeee must be set to XXXXmmmmMMMMUUUULLLLTTTTIIII____LLLLIIIINNNNEEEE____EEEEDDDDIIIITTTT to display the
  37.           ScrollBars.  The results of placing a Text widget inside a
  38.           ScrolledWindow when the Text's XXXXmmmmNNNNeeeeddddiiiittttMMMMooooddddeeee is
  39.           XXXXmmmmSSSSIIIINNNNGGGGLLLLEEEE____LLLLIIIINNNNEEEE____EEEEDDDDIIIITTTT are undefined.
  40.  
  41.           All arguments to either the Text or the ScrolledWindow
  42.           widget can be specified at creation time using this
  43.           function.  Changes to initial position and size are sent
  44.           only to the ScrolledWindow widget.  Other resources are sent
  45.           to the Text or the ScrolledWindow widget as appropriate.
  46.  
  47.           This function forces the following initial values for
  48.           ScrolledWindow resources:
  49.  
  50.  
  51.             +o  XXXXmmmmNNNNssssccccrrrroooolllllllliiiinnnnggggPPPPoooolllliiiiccccyyyy is set to XXXXmmmmAAAAPPPPPPPPLLLLIIIICCCCAAAATTTTIIIIOOOONNNN____DDDDEEEEFFFFIIIINNNNEEEEDDDD.
  52.  
  53.             +o  XXXXmmmmNNNNvvvviiiissssuuuuaaaallllPPPPoooolllliiiiccccyyyy is set to XXXXmmmmVVVVAAAARRRRIIIIAAAABBBBLLLLEEEE.
  54.  
  55.             +o  XXXXmmmmNNNNssssccccrrrroooollllllllBBBBaaaarrrrDDDDiiiissssppppllllaaaayyyyPPPPoooolllliiiiccccyyyy is set to XXXXmmmmSSSSTTTTAAAATTTTIIIICCCC.
  56.  
  57.             +o  XXXXmmmmNNNNsssshhhhaaaaddddoooowwwwTTTThhhhiiiicccckkkknnnneeeessssssss is set to 0.
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 4/30/98)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      XXXXmmmmCCCCrrrreeeeaaaatttteeeeSSSSccccrrrroooolllllllleeeeddddTTTTeeeexxxxtttt((((3333XXXX))))  UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV  XXXXmmmmCCCCrrrreeeeaaaatttteeeeSSSSccccrrrroooolllllllleeeeddddTTTTeeeexxxxtttt((((3333XXXX))))
  71.  
  72.  
  73.  
  74.           To obtain the ID of the ScrolledWindow widget associated
  75.           with the ScrolledText, use the Xt Intrinsics XXXXttttPPPPaaaarrrreeeennnntttt
  76.           function.  The name of the ScrolledWindow created by this
  77.           function is formed by concatenating the letters SSSSWWWW onto the
  78.           end of the _n_a_m_e specified in the parameter list.
  79.  
  80.  
  81.           _p_a_r_e_n_t Specifies the parent widget ID
  82.  
  83.           _n_a_m_e   Specifies the name of the created widget
  84.  
  85.           _a_r_g_l_i_s_tSpecifies the argument list
  86.  
  87.           _a_r_g_c_o_u_n_t
  88.                  Specifies the number of attribute/value pairs in the
  89.                  argument list (_a_r_g_l_i_s_t)
  90.  
  91.  
  92.           For a complete definition of Text and its associated
  93.           resources, see XXXXmmmmTTTTeeeexxxxtttt((((3333XXXX)))).
  94.  
  95.      RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE
  96.           Returns the Text widget ID.
  97.  
  98.      RRRREEEELLLLAAAATTTTEEEEDDDD IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN
  99.           XXXXmmmmSSSSccccrrrroooolllllllleeeeddddWWWWiiiinnnnddddoooowwww((((3333XXXX)))) and XXXXmmmmTTTTeeeexxxxtttt((((3333XXXX)))).
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                                          (printed 4/30/98)
  130.  
  131.  
  132.  
  133.